<?php
/**
 * Ecshop 2.7.2
 *
 * @desc orders receiver
 * @since 12:22 2011/08/31
 */

defined('SYNC_CLIENT_ROOT') || die('Access denied !');

$orderPath = dirname($this->_config['ordersPathRule']);
is_dir($orderPath) || $this->makedir($orderPath);

if (is_dir($orderPath) && is_writeable($orderPath))
	return file_put_contents(sprintf($this->_config['ordersPathRule'],date('Y-m-d').'.txt'), $order_info. "\n", FILE_APPEND);
else
	return FALSE;
?>